﻿@{
    ViewBag.Title = "计划完成汇总表";
}

@using LandPortMoblieWeb.Filter;

@section Header {
    <a href="#" data-rel="back" data-role="button">返回</a>
    <h1>@ViewBag.Title</h1>
}


<script type="text/javascript">
    $(function () {
        $(document).on("pagecreate", function (event) {
            var cc = $("li table").prev("a");
            cc.hide()
        });

    });
</script>

<style>
    .controlgroup-textinput {
        padding-top: .22em;
        padding-bottom: .22em;
    }
</style>

<div data-role="controlgroup" data-type="horizontal">
    @using (Ajax.BeginForm("CompletePartialView", new AjaxOptions { UpdateTargetId = "list" })) {

        <select name="dt" data-wrapper-class="controlgroup-textinput ui-btn" id="select-native-5">
            @{
        var dt = DateTime.Now.ToString("yyyy-MM-dd");
        var dt1 = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
        var dt2 = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd");

        <option value="@dt1">@dt1</option>
                <option value="@dt" selected="selected">@dt</option>
                <option value="@dt2">@dt2</option>
            }

        </select>
        <button type="submit" class="ui-btn ui-icon-search ui-btn-icon-right">查询</button>
    }
</div>


<div id="list">
    @{
        Html.RenderPartial("CompletePartialView");
    }
</div>

